/**
 * @description 后台路由
 */
export const backstageRoutes = [
  {
    path: '/center',
    name: 'center',
    redirect: '/carmi',
    component: () => import('@/views/backstage/center.vue'),
    children: [],
  },
]

/**
 * @description 侧边菜单路由
 */
export const menuRoutes = [
  {
    path: '/carmi',
    name: 'carmi',
    component: () => import('@/views/backstage/carmi.vue'),
    meta: {
      title: '卡密管理',
      icon: true,
    },
  },
]

/**
 * @description 其他路由
 */
export const exceptionRoutes = [
  {
    path: '/redirect',
    name: 'redirect',
    component: () => import('@/views/exception/redirect.vue'),
    meta: {
      title: '跳转中...',
    },
  },
  {
    path: '/:path(.*)*',
    name: '404',
    component: () => import('@/views/exception/404.vue'),
    meta: {
      title: '您访问的页面不存在...',
    },
  },
]
